<!DOCTYPE html>
<html class="x-admin-sm">
    
    <head>
        <meta charset="UTF-8">
        <title>欢迎页面-X-admin2.2</title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
        <link rel="stylesheet" href="/X-admin/css/font.css">
        <link rel="stylesheet" href="/X-admin/css/xadmin.css">
        <script src="/js/jquery.js"></script>
        <script src="/js/tool.js"></script>
        <script src="/X-admin/lib/layui/layui.js" charset="utf-8"></script>
        <script type="text/javascript" src="/X-admin/js/xadmin.js"></script>
        <script src="../../js/wangEditor.js"></script>
        <script src="../../js/product/product-update.js"></script>


    </head>
    <style>
        input[type=checkbox][name=hobby]{

        }
    </style>
    <body>
    <div class="layui-fluid">
        <div class="layui-row">
            <form class="layui-form">
                <div class="layui-form-item">
                    <input type="hidden" name="imgHref" id="imgHref">
                    <input type="hidden" name="id" id="id">
                    <label for="cuisineId" class="layui-form-label">
                        <span class="x-red">*</span>菜系</label>
                    <div class="layui-input-inline">
                        <select id="cuisineId" name="cuisineId" lay-filter="cuisineId">
                            <!--                               这里面的值应该来源于数据库-->
                        </select>
                    </div>
                    <div class="layui-form-mid layui-word-aux">
                        <span class="x-red">*</span>将会成为您唯一的登入名
                    </div>
                </div>
                <div class="layui-form-item">
                    <label for="name" class="layui-form-label">
                        <span class="x-red">*</span>产品名称</label>
                    <div class="layui-input-inline">
                        <input type="text" id="name" name="name" required=""
                               autocomplete="off"
                               class="layui-input"></div>
                    <div class="layui-form-mid layui-word-aux">
                        <span class="x-red">*</span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label for="normalPrice" class="layui-form-label">
                        <span class="x-red">*</span>正常价</label>
                    <div class="layui-input-inline">
                        <input type="text" id="normalPrice" value="11" name="normalPrice"
                               autocomplete="off"
                               class="layui-input"></div>
                    <div class="layui-form-mid layui-word-aux">
                        <span class="x-red">*</span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label for="marketPrice" class="layui-form-label">
                        <span class="x-red">*</span>市场价</label>
                    <div class="layui-input-inline">
                        <input type="text" id="marketPrice" value="22" name="marketPrice"
                               autocomplete="off"
                               class="layui-input"></div>
                    <div class="layui-form-mid layui-word-aux">
                        <span class="x-red">*</span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">
                        <span class="x-red">*</span>产品图片</label>
                    <div class="layui-input-inline">
                        <button type="button" class="layui-btn" id="test1">上传图片</button>
                        <div class="layui-upload-list">
                            <img class="layui-upload-img" id="demo1" width="100" height="100">
                            <p id="demoText"></p>
                        </div>
                    </div>
                    <div class="layui-form-mid layui-word-aux">
                        <span class="x-red">*</span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">
                        <span class="x-red">*</span>状态</label>
                    <div class="layui-input-inline">
                        <input type="radio" name="enable" value="1" title="启用" checked="">
                        <input type="radio" name="enable" value="0" title="禁用">
                    </div>
                    <div class="layui-form-mid layui-word-aux">
                        <span class="x-red">*</span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">
                        <span class="x-red">*</span>产品描述</label>
                    <div class="layui-input-inline">
                        <div id="content" class="content" style="height: 500px;width: 400px">
                        </div>
                    </div>
                    <div class="layui-form-mid layui-word-aux">
                        <span class="x-red">*</span>
                    </div>
                </div>

                <div class="layui-form-item">
                    <button class="layui-btn" lay-filter="add" lay-submit="">增加</button>
                </div>
            </form>
        </div>
    </div>

    </body>

</html>